package Server;

import java.io.File;
import java.io.IOException;
import java.io.OutputStream;
import java.net.Socket;

public class Login 
{
	private Socket soc;
	private boolean c = false;
	
		public synchronized void send2Server(String msg)
		{
			if(c == true)
			
				try
				{
					OutputStream out =  soc.getOutputStream();
					out.write(msg.getBytes());
					out.flush();
				}
				catch(IOException e)
				{
					e.printStackTrace();
				}
			
		}
		
	
}
